package com.itheima.movieExample;

public class Test {
    public static void main(String[] args) {
        Movie[] movies = new Movie[6];

        movies[0] = new Movie(1, "唐顿庄园", 8.9, "Hugh Bonneville");
        movies[1] = new Movie(2, "速度与激情", 12.5, "范·迪塞尔");
        movies[2] = new Movie(3, "夏洛特烦恼", 7.5, "沈腾");
        movies[3] = new Movie(4, "星际穿越", 11.0, "马修·麦康纳");
        movies[4] = new Movie(5, "阿甘正传", 9.9, "汤姆·汉克斯");
        movies[5] = new Movie(6, "肖申克的救赎", 10.5, "蒂姆·罗宾斯");

        MovieOperator movieOperator = new MovieOperator(movies);
        movieOperator.printMovies();
        movieOperator.findMovie();

    }
}
